package com.github.xaidanwang.auth.server.biz;

import com.github.xaidanwang.auth.server.entity.UserInfo;
import com.github.xaidanwang.auth.server.dao.UserInfoMapper;
import com.github.xaidanwang.biz.BaseBiz;
import org.springframework.stereotype.Service;

/**
 * @author wang yi fei
 * @date 2019/10/6 10:39
 */
@Service
public class UserBiz extends BaseBiz<UserInfoMapper,UserInfo>{

	public UserInfo getUserInfoByUserName(String userName){
		return super.mapper.getUserInfoByUserName(userName);
	}

	public UserInfo getUserInfoByPhone(String phone){
		return super.mapper.getUserInfoByPhone(phone);
	}
}
